package com.yao2san.simdif.enums;

import lombok.Getter;

/**
 * @Description ContrastAttr
 * @Author: 吴小刚
 * @Date 2023/7/31 15:43
 */
@SuppressWarnings("all")
public enum ColumnAttr {
    COLUMN_NAME("columnName", "名称"),
    COLUMN_TYPE("columnType", "列类型"),
    COLUMN_DATA_TYPE("columnDataType", "数据类型"),
    COLUMN_LENGTH("columnLength", "长度"),
    COLUMN_COMMENT("columnComment", "注释"),
    COLUMN_DEFAULT("columnDefault", "默认值"),
    COLUMN_NULL("columnNull", "是否允许为空"),
    COLUMN_INDEX("columnIndex", "是否被索引"),
    COLUMN_SORT("columnSort", "排序");

    @Getter
    private final String attrCode;
    @Getter
    private final String attrName;

    ColumnAttr(String attrCode, String attrName) {
        this.attrCode = attrCode;
        this.attrName = attrName;
    }
}
